# 基础镜像
FROM  openjdk:8-jre
# author
MAINTAINER edsta
# 设定时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# 复制jar文件到路径
ARG JAR_FILE
COPY ${JAR_FILE} /
ARG CONFIG_FILE
COPY ${CONFIG_FILE} /
# 启动认证服务
ENTRYPOINT ["java", "-Xmx512m", "-Xms512m","-Xmn300m", "-Xss2048k", "-jar", "/mqbd-test-reliability.jar"]